package com.janko.springbootbase.entity.test;

/**
 * @Author nyk
 * @Date 2021/3/10 15:07
 * @Version 1.0
 * @Desc
 */
public class Student implements java.io.Serializable {
    public Student() {
    }

    public Student(String name, int age, String sex, String sort) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.sort = sort;
    }

    private static final long serialVersionUID = 42L;
    String name;
    int age;
    String sex;
    String sort;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "Student:[name:" + name + ",age:" + age + ",sex:" + sex + ",sort:" + sort + "]";
    }
}
